﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Cashier
{
    public partial class list_form : Form
    {
        public list_form()
        {
            InitializeComponent();
            this.FormClosing += list_form_FormClosing;
        }

        void list_form_FormClosing(object sender, FormClosingEventArgs e)
        {
            FormManager.popForm();
        }

        private void btCustomerOnline_Click(object sender, EventArgs e)
        {
            FormManager.pushForm(new customer_form());
        }

        private void btCustomerOffline_Click(object sender, EventArgs e)
        {
            FormManager.pushForm(new customer_form_offline());
        }
    }
}
